/****************************************************
	文件：ShadowSettings.cs
	作者：HuskyT
	邮箱：1005240602@qq.com
	日期：2020/9/16 15:49:2
	功能：阴影设置
*****************************************************/

using System;
using UnityEngine;

namespace LearningSRP
{
    [Serializable]
    public class ShadowSettings
    {
        [Min(0f), Tooltip("最大阴影距离")]
        public float MaxDistance = 100f;
        [Tooltip("TODO")]
        public Directional directional = new Directional { AtlasSize = TextureSize._1024 };

        public enum TextureSize
        {
            _256 = 256,
            _512 = 512,
            _1024 = 1024,
            _2048 = 2048,
            _4096 = 4096,
            _8192 = 8192,
        }
        [Serializable]
        public struct Directional
        {
            [Tooltip("纹理大小")]
            public TextureSize AtlasSize;
        }
    }
}
